package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.ChatMsg;
import com.zch.dao.model.ChatMsgExample;

public interface ChatMsgMapper {
	int countByExample(ChatMsgExample example);

	int deleteByExample(ChatMsgExample example);

	int deleteByPrimaryKey(String id);

	int insert(ChatMsg record);

	int insertSelective(ChatMsg record);

	List<ChatMsg> selectByExample(ChatMsgExample example);

	ChatMsg selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") ChatMsg record,@Param("example") ChatMsgExample example);

	int updateByExample(@Param("record") ChatMsg record,@Param("example") ChatMsgExample example);

	int updateByPrimaryKeySelective(ChatMsg record);

	int updateByPrimaryKey(ChatMsg record);

}
